package com.company.责任链模式;

public abstract class Handler {
    protected Handler next;

    public Handler(Handler next) {
        this.next = next;
    }

    public abstract void handle(Request request);
}
